package com.example.mapper;

import com.example.pojo.News;

import java.util.List;

public interface NewsMapper {
    News selectById(Integer id);

    void addNews(News news);

    List<News> selectAll();
}
